package zhu.areas.dic.data;

import java.util.HashSet;
import java.util.Set;


/**
 * @hibernate.class  table="D_TeamAuState"   dynamic-insert="true"  dynamic-update="true" lazy="false"
 * @author Administrator
 *
 */
public class TeamAuState {

	private int teamAuStateID;	
	private String teamAuStateName;
	
	private Set team = new HashSet(0);
	
	public TeamAuState(){}
	
	public TeamAuState(int teamAuStateID){
		this.teamAuStateID=teamAuStateID;
	}
	
	/**
	 * @hibernate.id column="TeamAuStateID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */
	public int getTeamAuStateID() {
		return teamAuStateID;
	}

	public void setTeamAuStateID(int teamAuStateID) {
		this.teamAuStateID = teamAuStateID;
	}	
	/**
	 * @hibernate.property column = "TeamAuStateName"     not-null="true"
	 * @return
	 */
	public String getTeamAuStateName() {
		return teamAuStateName;
	}

	public void setTeamAuStateName(String teamAuStateName) {
		this.teamAuStateName = teamAuStateName;
	}
	/**
	 * @hibernate.set table="T_Team inverse="true" lazy="false"
	 * @hibernate.collection-key column="TeamAuState"
	 * @hibernate.collection-one-to-many class="zhu.areas.team.data.Team"
	 *                                  
	 */
	public Set getTeam() {
		return team;
	}

	public void setTeam(Set team) {
		this.team = team;
	}

	
}
